package com.smartstate.dataManagement.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * <p>楼宇 设备 中间表</p>
 * <p>@Author 陈永杰</p>
 * <p>@Date: 2022/8/23</p>
 * <p>@Time: 11:23</p>
 * <p>@version 1.0 <p>
 */
@Data
@ApiModel(description = "楼宇 设备 中间表")
public class ObjmiddleVo<VO> {
    /**
     * ID
     */
    @TableId(type = IdType.INPUT)
    @TableField(value = "id",fill = FieldFill.INSERT)
    private String id;

    /**
     *楼宇id
     */
    @TableField(value = "objId")
    @ApiModelProperty(value = "名称")
    private String objId;

    /**
     *设备id
     */
    @TableField(value = "deviceId")
    @ApiModelProperty(value = "名称")
    private String deviceId;

    @ApiModelProperty(value = "生成关系返回对象")
    private Map<VO, List<VO>>  vo;

}